package com.mindainfo.groundwave.server.member.dao;

import com.mindainfo.groundwave.server.base.dao.IBaseDao;
import com.mindainfo.groundwave.server.member.bean.SysDept;

import java.util.List;

/**
 * Created by MD-01 on 2017/5/15.
 */
public interface IDeptDao extends IBaseDao<SysDept>{

    public SysDept queryByName(String name);

    List<SysDept> queryList(int start, int num, String key);

    int queryListCount(String key);

    List<SysDept> queryUsableAll();

}
